LEGION Model Builder Help

Importing files

To do this, you will need to have LEGION Model Builder open.

To import a CAD file:

  1. Within LEGION Model Builder, select File > Import CAD.

    The ‘Open’ dialog box is displayed.

  2. Browse to the CAD file you want to import, select it and click Open.

    If there are any types of CAD object that LEGION Model Builder doesn’t recognise, the ‘Incompatible CAD Detected’ window is displayed. This lists all incompatible CAD elements by type and number.

  3. Check the contents of the window and click OK to move on.

    The ‘Layer Selection’ dialog box is displayed.

    This lists all the layers available for import and enables you to select and de-select layers for inclusion as part of the import and also for inclusion in the eventual simulation. The layers are also colour-coded:

    • White layers contain fully supported CAD
    • Amber layers contain some unsupported CAD
    • Grey layers contain no supported CAD
    • Blue layers are empty and contain no CAD at all
  4. For each layer you want to import, ensure that the ‘Import’ tick box is ticked. To exclude a layer, untick the box.
  5. For each layer you want to import as Simulation CAD, ensure that the ‘Simulation’ tick box is ticked. To exclude a layer, untick the box.
    Tip: A layer ticked as ‘Simulation’ will be included in the simulation you eventually run in LEGION Simulator. Take care to tick only those CAD layers that contain genuine obstacles to Entity movement.
  6. For each layer that contains small objects that you would like Auto-navigation to ignore (this saves on memory and permits more accurate pedestrian movement), ensure that the ‘Auto-navigation’ box is unchecked.
  7. Click OK to continue with the import.
  8. To import all CAD lines as black lines, check the box marked Import all CAD in black.
  9. Click OK.

    The CAD Import progress bar is displayed. When progress is complete, the ‘Drawing Units/Scale’ dialog opens.

  10. Ensure the Drawing units and Drawing scale settings are correct for the CAD plan being imported.
  11. Check the box marked Adjust model dimensions to fit imported geometry (this ensures that the LEGION model is large enough to contain the obstacles on your imported plan).
  12. Click OK.

    The CAD file appears in LEGION Model Builder workspace and the Object Directory and ‘Layers’ dialog are populated with the new CAD layers and objects.

After importing CAD, make sure that the correct CAD Layer is ‘active’. See Making layers active .

To save the imported CAD file as an ‘lgm’ file:

  1. Select File > Save As.

    The ‘Save As’ dialog box is displayed.

  2. Select a location and type a name for the LEGION Model File.
  3. Select LEGION Model Files (*.lgm) in the Save as type field.
  4. Click Save.

    Your imported CAD is now saved as an ‘lgm’ file.